<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>修改会员密码</title>
</head>
<?php      
	  //启动Session
	  session_start(); 	      
	  if(!isset($_SESSION['userinfo'])){
	     echo "<script>alert('登录后才可以修改密码，请先登录>>>>');location.href='login.php';</script>";		
	  }     
?>
<body>
<form method="post" action="doUpdatePass.php">
	<table class="table">
		<tr>
			<th>旧密码：</th><td><input type="password" class="form-text" name="upassold"   required></td>
		</tr>
        <tr>
			<th>新密码：</th><td><input type="password" class="form-text" name="upassnew"   required></td>
		</tr>
        <tr>
			<th>新密码确认：</th><td><input type="password" class="form-text" name="upassnew1"   required></td>
		</tr>				
		<tr>
			<td colspan="2" align="center"><input type="submit" value="确认修改" class="form-btn">　<input type="reset" value="重新填写" class="form-btn"></td>
		</tr>
	</table>
	</form>      
      </div>
</body>
</html>